package com.enqualcomm.kids.mvp.weather;

/**
 * Created by yinzhiqun on 2015/10/13.
 *
 */
public interface IWeatherModel {

    /**
     * 查询今日天气
     * @param cityName
     * @param handler
     */
    void queryWeatherToday(String cityName, WeatherEventHandler handler);

    /**
     * 查询最近7天的天气
     * @param cityName
     * @param handler
     */
    void queryWeatherRecent(String cityName, WeatherEventHandler handler);

    /**
     * 取消联网任务
     */
    void onStop();
}
